package com.zzs.elm.po;

import com.zzs.elm.util.MyJSONUtil;

public class Food {
	
	private Integer foodId;
	private String foodName;
	private String foodExplain;
	private String foodImg;
	private Double foodPrice;
	private Integer businessId;
	private String remarks;
	
	private int quantity;
	
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("{\"foodId\":").append(foodId).append(", \"foodName\":").append(MyJSONUtil.exclude(foodName))
				.append(", \"foodExplain\":").append(MyJSONUtil.exclude(foodExplain)).append(", \"foodImg\":").append(MyJSONUtil.exclude(foodImg))
				.append(", \"foodPrice\":").append(foodPrice).append(", \"businessId\":").append(businessId)
				.append(", \"remarks\":").append(MyJSONUtil.exclude(remarks)).append(", \"quantity\":").append(quantity).append("}");
		return builder.toString();
	}
	public Integer getFoodId() {
		return foodId;
	}
	public void setFoodId(Integer foodId) {
		this.foodId = foodId;
	}
	public String getFoodName() {
		return foodName;
	}
	public void setFoodName(String foodName) {
		this.foodName = foodName;
	}
	public String getFoodExplain() {
		return foodExplain;
	}
	public void setFoodExplain(String foodExplain) {
		this.foodExplain = foodExplain;
	}
	public String getFoodImg() {
		return foodImg;
	}
	public void setFoodImg(String foodImg) {
		this.foodImg = foodImg;
	}
	public Double getFoodPrice() {
		return foodPrice;
	}
	public void setFoodPrice(Double foodPrice) {
		this.foodPrice = foodPrice;
	}
	public Integer getBusinessId() {
		return businessId;
	}
	public void setBusinessId(Integer businessId) {
		this.businessId = businessId;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
}